using System;
using System.Collections.Generic;
using System.Linq;
using McCloudCore;
using Microsoft.WindowsAzure;
//using Microsoft.WindowsAzure.Diagnostics;
using Microsoft.WindowsAzure.ServiceRuntime;

namespace WCFRole
{
    public class WebRole : RoleEntryPoint
    {
        public override bool OnStart()
        {            
            //DiagnosticMonitorConfiguration diagnosticConfig = DiagnosticMonitor.GetDefaultInitialConfiguration();
            //diagnosticConfig.Directories.ScheduledTransferPeriod = TimeSpan.FromMinutes(1);
            //diagnosticConfig.Directories.DataSources.Add(AzureLocalStorageTraceListener.GetLogDirectory());            
            McControl.onstart();   
            return base.OnStart();
        }
    }
}
